<article class="info_action">
  <%= render :partial => 'activities/time_ago',

  :locals => { :activity => activity } %>

  <% if activity.direct_object.present? %>

   <%= render :partial => 'activities/like',
               :locals => { :activity => activity } %>

    <%= render :partial => 'activities/comment',
               :locals => { :activity => activity } %>

  <% end %>

</article>
